<template>
  <div class="bank">
    <div class="bankTitle">
      <i class="leftIcon"></i>
      <span class="title">{{ bankTitle }}品牌</span>
    </div>
    <div class="bankCard">
      <BankCard
        :bankTitle="bankTitle"
        :list="list"
      />
    </div>
  </div>
</template>
<script>
import BankCard from '../BankCard'
export default {
  name: 'Bank',
  data () {
    return {
    }
  },
  props: ['bankTitle', 'list'],
  components: {
    BankCard
  }
}
</script>
<style  scoped>
.leftIcon {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #227fe6;
  margin-right: 8px;
}
.title {
  font-size: 14px;
  color: #333333;
  font-weight: 600;
}
</style>
